package com.sqx.modules.message.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author fang
 * @date 2020/7/13
 */
@Data
@TableName("activity_message_info")
public class ActivityMessageInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.INPUT)
    @ApiModelProperty("活动消息id")
    private long id;

    @ApiModelProperty("创建时间")
    private String createAt;

    @ApiModelProperty("消息内容")
    private String content;

    @ApiModelProperty("消息标题")
    private String title;

    @ApiModelProperty("图片")
    private String image;

    @ApiModelProperty("链接")
    private String url;

    @ApiModelProperty("发送状态")
    private String sendState;

    @ApiModelProperty("发送时间")
    private String sendTime;

    @ApiModelProperty("是否已读")
    private String isSee;

    @ApiModelProperty("状态")
    private String state;

    @ApiModelProperty("消息类型")
    private String type;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("平台id，暂未使用")
    private String platform;

}